import { App } from "vue";
import { registerFormDetailProvider } from "@ibiz-template/runtime";
import { FormButtonProvider } from "./i-biz-form-button.provider";
import FormButton from "./i-biz-form-button.vue";

export const IBizFormButton = {
  install(v: App) {
    v.component("IBizFormButton", FormButton);
    registerFormDetailProvider("BUTTON", () => new FormButtonProvider());
  },
};

export default IBizFormButton;
